package com.gxa.hotel.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hotel
 * @since 2022-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_pay_detail")
public class PayDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增长id
     */
      @TableId(value = "pd_id", type = IdType.AUTO)
    private Integer pdId;

    /**
     * 订单id
     */
    private String pdOid;
    /**
     * 订单id
     */
    private String pdPid;
    /**
     * 未抵扣时应付金额
     */
    private Double pdOrderCount;

    /**
     * 优惠券抵扣
     */
    private Double pdCoupen;

    /**
     * 积分抵扣
     */
    private Double pdIntegration;

    /**
     * 余额抵扣
     */
    private Double pdRest;

    /**
     * 实付金额
     */
    private Double pdPayCount;


}
